﻿namespace Digitalmes.Application.Scada.Commands;

/// <summary>
/// 批次物料扫码上料命令。
/// </summary>
public record ScanBatchCommand : IRequest<ScadaResult>
{
    /// <summary>
    /// 线体编号
    /// </summary>
    [NotNull]
    public string? LineCode { get; set; }

    /// <summary>
    /// 工位编号
    /// </summary>
    [NotNull]
    public string? WsCode { get; set; }

    /// <summary>
    /// 物料条码
    /// </summary>
    [NotNull]
    public string? Barcode { get; set; }
}
